package com.insta.formation.calendar.service;


import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

/**
 * Interface du Web Service permettant aux utilisateurs de visiter les calendriers
 * 
 * @author julien
 * 
 */
@WebService
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
public interface IVisitorService {

	/**
	 * 	Get a event in a calendar
	 * 
	 * @param calendarName - name of the calendar
	 * @param eventName - name of the event
	 * @param emailGuest - email of the guest
	 * @return
	 */
	public EventLight visitEvent(String calendarName, String eventName, String emailGuest);
	
	/**
	 * 	Get a calendar
	 * 
	 * @param calendarName - name of the calendar
	 * @return
	 * @FIXME pour l'instant tout le monde peut recuperer le calendier 
	 */
	public CalendarLight visitCalendar(String calendarName);
}
